Searched refs:GetBytes (Results 1 – 9 of 9) sorted by relevance
16 …return Encoding.UTF8.GetString(Encoding.UTF8.GetBytes(input).Where(x => (x >= 32 && x <= 126) || (… in StripNonSafeCharacters()
252 return Encoding.GetEncoding("iso-8859-1").GetBytes(str); in Encode()
68 : this(returnCode, command, null, Encoding.ASCII.GetBytes(text)) in Response()92 public IEnumerable<byte> GetBytes() in GetBytes() method in Antmicro.Renode.Network.ExternalControl.Response
51 return Response.Success(Identifier, BitConverter.GetBytes(gpio.IsSet)); in Invoke()
311 var bytes = response.GetBytes(); in SendResponse()
26 var textAsBytes = Encoding.UTF8.GetBytes(text); in PasteText()
38 …var peripheralNameBytes = Encoding.UTF8.GetBytes(peripheralName).Take(3).Aggregate(0U, (v, b) => (… in ReadDoubleWord()
278 deviceToHostEndpoint.HandlePacket(System.Text.ASCIIEncoding.ASCII.GetBytes(s + "\n\r")); in SendResponse()
137 byte[] mmfPathBytes = Encoding.ASCII.GetBytes(mmfPath); in DMIMessage()