Charset.
상속: FanObj
예제 #1
0
파일: FanStr.cs 프로젝트: xored/f4
 public static Buf toBuf(string self, Charset charset)
 {
     MemBuf buf = new MemBuf(self.Length*2);
       buf.charset(charset);
       buf.print(self);
       return buf.flip();
 }
예제 #2
0
파일: Buf.cs 프로젝트: nomit007/f4
 public void charset(Charset charset)
 {
     m_out.charset(charset);
       m_in.charset(charset);
 }
예제 #3
0
파일: OutStream.cs 프로젝트: nomit007/f4
 public virtual void charset(Charset charset)
 {
     m_charsetEncoder = charset.newEncoder();
       m_charset = charset;
 }
예제 #4
0
파일: OutStream.cs 프로젝트: nomit007/f4
 protected OutStream()
 {
     m_charset = Charset.utf8();
       m_charsetEncoder = m_charset.newEncoder();
 }
예제 #5
0
파일: Charset.cs 프로젝트: nomit007/f4
 internal DefaultEncoder(Charset charset)
 {
     this.charset = charset;
 }
예제 #6
0
파일: Charset.cs 프로젝트: nomit007/f4
 //////////////////////////////////////////////////////////////////////////
 // UTF-8
 //////////////////////////////////////////////////////////////////////////
 public static Charset utf8()
 {
     if (m_utf8 == null) m_utf8 = new Utf8Charset();
       return m_utf8;
 }
예제 #7
0
파일: InStream.cs 프로젝트: nomit007/f4
 protected InStream()
 {
     m_charset = Charset.utf8();
       m_charsetDecoder = m_charset.newDecoder();
       m_charsetEncoder = m_charset.newEncoder();
 }