File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed 
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/golang Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change 1919import  uk .co .real_logic .sbe .SbeTool ;
2020import  uk .co .real_logic .sbe .util .ValidationUtil ;
2121
22- import  java .nio .ByteOrder ;
2322import  java .util .EnumMap ;
2423import  java .util .Map ;
2524
@@ -143,34 +142,4 @@ public static String formatTypeName(final String value)
143142 {
144143 return  toUpperFirstChar (value );
145144 }
146- 
147-  /** 
148-  * Return the Golang formatted byte order encoding string to use for a given byte order and primitiveType 
149-  * 
150-  * @param byteOrder of the {@link uk.co.real_logic.sbe.ir.Token} 
151-  * @param primitiveType of the {@link uk.co.real_logic.sbe.ir.Token} 
152-  * @return the string formatted as the byte ordering encoding 
153-  */ 
154-  public  static  String  formatByteOrderEncoding (final  ByteOrder  byteOrder , final  PrimitiveType  primitiveType )
155-  {
156-  switch  (primitiveType .size ())
157-  {
158-  case  2 :
159-  return  "binary.Write(buf, order, obj)" ;
160- 
161-  case  4 :
162-  return  "binary.Write(buf, order, obj)" ;
163- 
164-  case  8 :
165-  return  "binary.Write(buf, order, obj)" ;
166- 
167-  default :
168-  return  "" ;
169-  }
170-  }
171- 
172-  public  static  String  closingBraces (final  int  count )
173-  {
174-  return  new  String (new  char [count ]).replace ("\0 " , "}\n " );
175-  }
176145}
                         You can’t perform that action at this time. 
           
                  
0 commit comments